<template>
  <div>
    <h1>这是about页面pc端</h1>
    <button @click="gotourl">点击这里跳转首页</button>

    <div class="w-16 md:w-32 lg:w-48 h-20 bg-red-500 transition-all"></div>
  </div>
</template>

<script setup lang="ts">
const router = useRouter();

const gotourl = () => {
  router.push({ path: "/" });
};
</script>

<style scoped lang="scss"></style>
